<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{$title}</title>
    <link rel="shortcut icon" href="__STATIC__/src/common/img/cauliflower-small.png" type="image/x-icon" />
    <link rel="stylesheet" type="text/css"  href="__STATIC__/src/common/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css"  href="__STATIC__/src/common/css/common.css" />
</head>
<body>
{include file="common@common/header"}
<div class="">
    <div class="col-md-2 col-md-offset-1">
        {include file="common/leftPanel"}
    </div>
    <div class="col-md-8">
        <form action="{:url('saveConfig')}" method="post" class="form-horizontal">
            <div class="form-group">
                <label for="pageNum" class="col-md-3 control-label">分页时每页记录数：</label>
                <div class="col-md-8">
                    <input class="form-control" type="text" name="pageNum" id="pageNum" value="{$pageNum}" placeholder="请输入每页记录数"/>
                </div>
            </div>
            <div class="form-group">
                <label for="threshold" class="col-md-3 control-label">手动开启考试的时间阙值：</label>
                <div class="col-md-8">
                    <div class="input-group">
                        <input class="form-control" type="text" name="threshold" id="threshold" value="{$threshold}" placeholder="请输入时间阙值"/>
                        <span class="input-group-addon">分钟</span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="minSize" class="col-md-3 control-label">上传文件下限：</label>
                <div class="col-md-3">
                    <div class="input-group">
                        <input class="form-control" type="text" name="minSize" id="minSize" value="{$minSize}" placeholder="文件下限"/>
                        <span class="input-group-addon">字节</span>
                    </div>
                </div>
                <label for="maxSize" class="col-md-2 control-label">上传文件上限：</label>
                <div class="col-md-3">
                    <div class="input-group">
                        <input class="form-control" type="text" name="maxSize" id="maxSize" value="{$maxSize}" placeholder="文件上限"/>
                        <span class="input-group-addon">字节</span>
                    </div>
                </div>
            </div>
            <div class="form-group">
                <label for="threshold" class="col-md-3 control-label">是否允许教师清理或删除考试：</label>
                <div class="col-md-8">
                    <input type="radio" name="isGrant" value="yes" {if condition="$isGrant == '1'"} checked="checked" {/if} />是
                    <input type="radio" name="isGrant" value="no" {if condition="$isGrant == '0'"} checked="checked" {/if} />否
                </div>
            </div>
            <div class="col-md-offset-3">
                <button class="btn btn-primary">保存修改</button>
            </div>
        </form>
    </div>
</div>
<script src="__STATIC__/src/common/js/jquery-3.2.1.js"></script>
<script src="__STATIC__/src/common/js/bootstrap.js"></script>
<script src="__STATIC__/src/common/js/admin.js"></script>
</body>
</html>